<%-- 
    Document   : connection
    Created on : Jun 14, 2012, 3:17:32 AM
    Author     : Marcouss
--%>
<%-- 
    Document   : index
    Created on : May 3, 2012, 1:14:12 AM
    Author     : Marcouss
--%>

<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!-- Ne pas oublier cette ligne sinon tous les tags de la JSTL seront ignor√©s ! -->  
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  
<html>
    <head>
        <link rel="stylesheet" type="text/css" media="all" href="style2.css"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Vente de DVD en ligne</title> 
    </head>
    
    <body>
        <div id="Global">
            <jsp:include page="header.jsp" />
                 
            
            <!-- nouveau body pour la connection-->
            
                <div id="body">
                    <div id="notconnected">
                        <div id="login2">
                            <!--<form action="ServletUsers" method="get" id="formconnexion">-->
                            
                                <form action="SerlvetAuthentification" method="get" id="formconnexion">
                                    <p> Login = Admin et Mot de passe = admin </p> 
                                    <label for="log">Login:</label><input type="text" name="log" id="log"><br/>
                                    <label for="pass">Mot de passe:</label><input type="password" name="pass" id="pass"><br/>
                                    <input type="hidden" name="action" value="Connect">
                                    <input type="submit" name="submit" value="Connect">
                                
                                <c:if test="${!empty param['message']}">  
                                <h3 align="center"> ${param.message}</h3>  
                                </c:if> 
                            </form>
                        </div>
                    </div>
                </div>
                
            <jsp:include page="footer.jsp" />
            
        </div>
                          
      </body>
</html>
